package renda.dao.serivce;

import java.util.List;

import renda.pojo.Topics;

public interface TopicsService {

	Topics saveTopics(Topics topics);

	int updateTopics(Integer topicsId, Integer userType);

	Topics getById(Integer topicsId);

	List<Topics> listTopics(String name, Integer userId, final int offset, final int length);

	int countTopics(String name, Integer userId);
}
